#include "user.h"
#include "login.h"


User::User(int id, const QString &password, const QString &name, const QString &signature, const QString &ip)
    : m_id(id), m_password(password), m_name(name), m_signature(signature), m_ip(ip)
{
}

int User::getId() const
{
    return m_id;
}

QString User::getPassword() const
{
    return m_password;
}

QString User::getName() const
{
    return m_name;
}

QString User::getSignature() const
{
    return m_signature;
}

QString User::getIP() const
{
    return m_ip;
}

void User::setId(int id)
{
    m_id = id;
}

void User::setPassword(const QString &password)
{
    m_password = password;
}

void User::setName(const QString &name)
{
    m_name = name;
}

void User::setSignature(const QString &signature)
{
    m_signature = signature;
}

void User::setIP(const QString &ip)
{
    m_ip = ip;
}
